<template>
  <div>
    <dl v-for="(module,key) in compileResult">
      <dt>{{key}} 编译结果: {{module.result}}</dt>
      <dd v-for="error in module.compileErrors">{{error}}</dd>
    </dl>
  </div>
</template>

<script>
export default {
  name: 'javacResult',
  props: {
    compileResult: {
      type: Object,
      default: {}
    }
  },
  data(){
    return {

    }
  },
  methods: {

  }
}
</script>

<style scoped>
  dl{
    line-height: 2;
    overflow-x: scroll;
    white-space: nowrap;
  }
  dl dd {
    /*margin-left: -150px;*/
  }
</style>
